package com.xm.po;

/**
 * @author xie'lin'feng
 * @date 2020-08-06-14:35
 * @description 银行实体类
 */
public class Banks{
	//属性
	private Integer bankId;
	//银行名称
	private String bankName;
	//所属用户
	private Integer userId;
	//删除标志 -1删除 1有效
	private Integer bankFlag;
	//构造器
	public Banks(){}
	public Banks(Integer bankId,String bankName,Integer userId,Integer bankFlag){
		this.bankId=bankId;
		this.bankName=bankName;
		this.userId=userId;
		this.bankFlag=bankFlag;
}
	//getter setter方法
	public void setBankId(Integer bankId){
		this.bankId=bankId;
	}
	public Integer getBankId(){
		return bankId;
	}
	public void setBankName(String bankName){
		this.bankName=bankName;
	}
	public String getBankName(){
		return bankName;
	}
	public void setUserId(Integer userId){
		this.userId=userId;
	}
	public Integer getUserId(){
		return userId;
	}
	public void setBankFlag(Integer bankFlag){
		this.bankFlag=bankFlag;
	}
	public Integer getBankFlag(){
		return bankFlag;
	}
	public String toString(){
		return "Banks [bankId=" + bankId + ", bankName=" + bankName + ", userId=" + userId + ", bankFlag=" + bankFlag + "]";
	}
}

